package com.atguigu.gulimall.search.thread;

public class ThreadTest {
    public static void main(String[] args) {
        System.out.println("main...........start........");
        Thread01 thread01 = new Thread01();
        thread01.start();
        System.out.println("main...........end........");
    }
    public static class Thread01 extends Thread{
        @Override
        public void run() {
            System.out.println("当前线程："+Thread.currentThread().getId());
            int i = 10%3 ;
            System.out.println("运行结果："+i);
        }
    }
}